import Entity from "./entity"

export default class StepCollection extends Entity {
    constructor(db) {
        super(db, 'step_collections')
    }

    async getAllStepCollections() {
        const list = await this.find({}, { sort: { create_at: -1, update_at: -1 } })
        return list
    }
}